//
//  TGMCollectionViewMoreCell.h
//  TravelGuideHD
//
//  Created by xiaofeng on 14-9-2.
//  Copyright (c) 2014年 mafengo Inc. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "Model2UIDefines.h"

@class TGMCollectionViewMoreCell;
@protocol TGMCollectionViewMoreCellDelegate <NSObject>
- (void)collectionViewMoreCellDidSelected:(TGMCollectionViewMoreCell*)moreCell;
@end

@class TGMActivityIndicatorView;
@interface TGMCollectionViewMoreCell : UICollectionReusableView
{
    MoreCellState _state;
    UILabel *_infoLabel;
    UIControl *_maskClickControl;
    
    TGMActivityIndicatorView *_activityIndicatorView;
}
@property(nonatomic, readonly)MoreCellState state;
@property(nonatomic, readonly)UILabel *infoLabel;
@property(nonatomic, weak)id<TGMCollectionViewMoreCellDelegate> delegate;

- (void)setInfoText:(NSString*)infoString forState:(MoreCellState)state;
@end
